package com.atguigu.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 将消费者注册进 consul 注册中心
 */
@SpringBootApplication
@EnableDiscoveryClient // 该注解用于向使用consul或则zookeeper作为注册中心时注册服务
public class OrderConsullMain80 {

    public static void main(String[] args) {
        SpringApplication.run(OrderConsullMain80.class,args);
    }
}
